package com.yanqu.road.entity.cricket.court.log;

import java.util.Date;

/**
 * 竞技场积分变更
 */
public class LogCricketCourtChangeScore {

    private long serverId;

    private long userId;
    private int round;

    private int courtId;

    private int groupId;

    private long beforeScore;

    private long afterScore;

    private int beforeRank;

    private int afterRank;

    private Date addTime;

    public LogCricketCourtChangeScore(long serverId, long userId, int round, int courtId, int groupId, long beforeScore, long afterScore, int beforeRank, int afterRank) {
        this.serverId = serverId;
        this.userId = userId;
        this.round = round;
        this.courtId = courtId;
        this.groupId = groupId;
        this.beforeScore = beforeScore;
        this.afterScore = afterScore;
        this.beforeRank = beforeRank;
        this.afterRank = afterRank;
        this.addTime = new Date();
    }

    public long getServerId() {
        return serverId;
    }

    public void setServerId(long serverId) {
        this.serverId = serverId;
    }

    public long getUserId() {
        return userId;
    }

    public void setUserId(long userId) {
        this.userId = userId;
    }

    public int getRound() {
        return round;
    }

    public void setRound(int round) {
        this.round = round;
    }

    public int getCourtId() {
        return courtId;
    }

    public void setCourtId(int courtId) {
        this.courtId = courtId;
    }

    public int getGroupId() {
        return groupId;
    }

    public void setGroupId(int groupId) {
        this.groupId = groupId;
    }

    public long getBeforeScore() {
        return beforeScore;
    }

    public void setBeforeScore(long beforeScore) {
        this.beforeScore = beforeScore;
    }

    public long getAfterScore() {
        return afterScore;
    }

    public void setAfterScore(long afterScore) {
        this.afterScore = afterScore;
    }

    public int getBeforeRank() {
        return beforeRank;
    }

    public void setBeforeRank(int beforeRank) {
        this.beforeRank = beforeRank;
    }

    public int getAfterRank() {
        return afterRank;
    }

    public void setAfterRank(int afterRank) {
        this.afterRank = afterRank;
    }

    public Date getAddTime() {
        return addTime;
    }

    public void setAddTime(Date addTime) {
        this.addTime = addTime;
    }
}
